projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4b524
)
a11y: Remove separator menu item special case
author
Benjamin Otte
<otte@gnome.org>
Mon, 18 Jul 2011 16:05:00 +0000
(18:05 +0200)
committer
Benjamin Otte
<otte@gnome.org>
Mon, 18 Jul 2011 16:30:49 +0000
(18:30 +0200)
gtkseparator.c already takes care of this case.
gtk/a11y/gtkmenuitemaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtkmenuitemaccessible.c
b/gtk/a11y/gtkmenuitemaccessible.c
index 57df48932c45126d3c608bf2135e7e6d0b0d95d7..ddea3528dc208da5a423e63486be2764164e6765 100644
(file)
--- a/
gtk/a11y/gtkmenuitemaccessible.c
+++ b/
gtk/a11y/gtkmenuitemaccessible.c
@@
-67,8
+67,6
@@
gtk_menu_item_accessible_initialize (AtkObject *obj,
if (GTK_IS_TEAROFF_MENU_ITEM (data))
obj->role = ATK_ROLE_TEAR_OFF_MENU_ITEM;
- else if (GTK_IS_SEPARATOR_MENU_ITEM (data))
- obj->role = ATK_ROLE_SEPARATOR;
else
obj->role = ATK_ROLE_MENU_ITEM;
}